<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>

<!--  病案浏览审批页面-->
<div class="easyui-layout" data-options="fit:true">   
    <div data-options="region:'north',split:true,height:'65%'" class="Cancel_borderTL">
    	<div id="toolbar-sPurposeData" class="paddingTBL">
	    	<div class="paddingB">  
			   <span class="labelWid4">申请人&nbsp;</span>
			   <input id="scheck-fsqr" class="easyui-textbox" data-options="width:120,height:24"/>
			 
			   <span class="paddingL">申请目的&nbsp;</span>
			   <input id="sPurpose-application"/>
			   
			   <span class="paddingL"><input id="sdate-type"></span>
			   <input id="sstart-date" class="easyui-datebox" data-options="width:120,height:24">
			   &nbsp;至&nbsp;
			   <input id="send-date" class="easyui-datebox" data-options="width:120,height:24"/>
			</div>
			
			<div class=""> 
			   <span class="labelWid4">姓&nbsp;名&nbsp;</span>
			   <input id="scheck-fname" class="easyui-textbox" data-options="width:120,height:24"/>
			   <span class="paddingL">审批状态&nbsp;</span>
			   <input id="sApprovalStatus"/>
			   <label class="paddingL" style="width:80px"><input type="checkbox" id="sis-Approval">需审批</label>
			   <span class="paddingbtn">病案号&nbsp;</span>
			   <input id="scheck-num" class="easyui-textbox" data-options="width:140,height:24"/>
			   
			   <span class="paddingbtn"></span>
			   <a class="easyui-linkbutton" onclick="checkPurposeDataByUser()">查询</a>
			</div>
		</div>
		<table id="sPurposeData"></table>
    </div>    
 
	<div data-options="region:'west'" style="width:49%;border:0;border-right:1px solid #dad9d9;">
		<div class="easyui-tabs" style="width:auto;height:100%;">
			<div title="申请描述" style="overflow:auto;">
				<p class="paddingbtn">
					<label>申请目的&nbsp;</label>
					<span id="sshow-PurposeApplication"></span>
				</p>
		
				<p class="paddingbtn">
					<label>申请天数&nbsp;</label>
					<span id="sshow-PurposeDays"></span>
				</p>
		
				<span class="paddingbtn">
					<label>申请描述&nbsp;</label>
					<span style="vertical-align: middle;">
					  <textarea id="sApply-Description" readonly="readonly" style="resize:none;width:90%;min-width:320px;height:50px;"></textarea>
					</span>
				</span>
			</div>
			
			<div title="审批历史" style="overflow:auto;">
				<p class="paddingbtn">
		           <label>审批人&nbsp;</label>
				   <span id="sshow-Approver"></span>
				</p>
		
				<p class="paddingbtn">
					<label>审批时间&nbsp;</label>
					<span id="sshow-ApprovalDate"></span>
				</p>
		
				<span class="paddingbtn">
					<label>审批描述&nbsp;</label>
					<span style="vertical-align:middle;">
					   <textarea id="sOld-ApprovalDescription" readonly="readonly" style="resize:none;width:90%;min-width:320px;height:50px;"></textarea>
				    </span>
				</span>
			</div>
		</div>
	</div>
   		
 	<div data-options="region:'east',title:'审批结果',collapsible:false" style="width:50%;border-bottom:0;">
 		      <span class="paddingTL">
	  		  	   <span>浏览期限&nbsp;</span>
				   <input id="sBrowsingPeriod" class="easyui-textbox" style="width:50px;"/>
				   <input id="sApproval-days"/>
				   <span class="paddingbtn"></span>  
   			  </span>
   			  
   			  <span class="paddingTL" style="width:310px;">
				   <a class="easyui-linkbutton" id="sApproval" onclick="sApproval()">审批通过</a>
				   <span class="paddingbtn"></span>
				   <a class="easyui-linkbutton" id="sNotApproval" onclick="sNotApproval()">审批不通过</a>
				   <span class="paddingbtn"></span>
				   <a class="easyui-linkbutton" id="sCompulsoryRecall" onclick="sCompulsoryRecall()">强制收回</a>
   			  </span>
   			  
			  <span class="paddingTL">
			  	   <span>审批描述&nbsp;</span>
			  	   <span style="vertical-align:middle;">
				       <textarea id="sApprovalDescription" style="resize:none;width:90%;min-width:320px;height:45px;"></textarea>
			       </span>
			  </span> 
    </div> 
</div> 
<script type="text/javascript" src="<%=request.getContextPath()%>/js/MedicalCheckManage/MedicalBrowseExamination.js"></script>
